package com.endbd.systemmanagement.dao.area;

import com.endbd.feignapi.model.system.City;
import com.endbd.feignapi.model.system.Province;
import com.endbd.systemmanagement.model.AreaCondition;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AreaDao {

  List<Province> getAreaList();
  //通过省份名字或者省份id获取
  Province queryArea(AreaCondition areaCondition);
  //通过城市名字或者城市id获取
  City queryAreaByCity(AreaCondition areaCondition);
}
